package com.cennavi.minemapdemo.widget;

import android.annotation.SuppressLint;
import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Button;

@SuppressLint("AppCompatCustomView")
public class CustomButton extends Button{
	public CustomButton(Context context) {
		super(context);
	}

	public CustomButton(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public CustomButton(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
		super(context, attrs, defStyleAttr);

	}


	public boolean isClickDown() {
		return isClickDown;
	}

	public void setClickDown(boolean clickDown) {
		isClickDown = clickDown;
	}

	private boolean isClickDown = true;

}
